{{ header }}
<div id="product-manufacturer-list" class="container">
    {#{{ include(helper.template('_partial/breadcrumb')) }}#}
    <div class="row no-gutters">
        {{ column_left }}
        {% if column_left and column_right %}
            {% set class = 'col-sm-6' %}
        {% elseif column_left or column_right %}
            {% set class = 'col-sm-9' %}
        {% else %}
            {% set class = 'col-sm-12' %}
        {% endif %}
        <div id="content" class="{{ class }}">{{ content_top }}
            <h2 class="product-manufacturer-list-title">
                {{ text_index }}
            </h2>
            {% if categories %}
                <div class="indexes">
                    {% for category in categories %}
                       <a class="indexes-item" href="index.php?route=product/manufacturer#{{ category.name }}">{{ category.name }}</a>
                    {% endfor %}
                </div>
                {% for category in categories %}
                    <div class="manufacturer-list">
                    <h2 id="{{ category.name }}">
                        {{ category.name }}
                    </h2>
                    {% if category.manufacturer %}
                        <div class="manufacturer-list-plane row no-gutters">
                            {% for manufacturer in category.manufacturer %}
                                <div class=" col-lg-2 col-md-4 col-sm-6 col-xs-12">
                                    <div class="image center-block">
                                        <a href="{{ manufacturer.href }}">
                                           <div class="thumb">
                                               <img src="{{ manufacturer.thumb }}">
                                           </div>
                                            <p class="name">{{ manufacturer.name }}</p>
                                        </a>
                                    </div>
                                </div>
                            {% endfor %}
                        </div>
                    {% endif %}
                    </div>
                {% endfor %}
            {% else %}
                <div class="empty">
                    <img src="/catalog/view/theme/{{ helper.config('theme_default_directory') }}/image/icon/icon_no_brand.svg" alt="">
                    <p class="empty-tips">{{ text_no_brand }}</p>
                </div>
                {#<div class="buttons clearfix">#}
                    {#<div class="pull-right">#}
                        {#<a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a>#}
                    {#</div>#}
                {#</div>#}
            {% endif %}
            {{ content_bottom }}</div>
        {{ column_right }}</div>

</div>
{{ footer }}
